/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package edu.ieslaferreria.creditsintesis.logicgame.actions;

import edu.ieslaferreria.creditsintesis.logicgame.Parameter;
import java.util.HashMap;

/**
 * Clase para guardar los objetos de configuración del mapa.
 * @author Ruben.Pino
 */
public class ConfigurationMapEvent extends RmiEvent{

    String modelMapName;
    private HashMap<String,Parameter> parameters = new HashMap<String, Parameter>();


    public ConfigurationMapEvent(String mapModelName){
        this.modelMapName=mapModelName;
    }

    /**
     * @return the parameters
     */
    public HashMap<String, Parameter> getParameters() {
        return parameters;
    }

    /**
     * @param parameters the parameters to set
     */
    public void addParameter(String name,Parameter parameter) {
        this.parameters.put(name, parameter);
    }

    /**
     * @return the modelMapName
     */
    public String getModelMapName() {
        return modelMapName;
    }

    /**
     * @param modelMapName the modelMapName to set
     */
    public void setModelMapName(String modelMapName) {
        this.modelMapName = modelMapName;
    }



}
